
#ifndef  _ShowLayer_H_
#define  _ShowLayer_H_


// #import <Foundation/Foundation.h>
#include <stdio.h>

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "httpClient.h"


USING_NS_CC;
using namespace cocostudio;
using namespace std;
using namespace ui;





#pragma -mark
class ShowLayer: public Node
{
public:
    CREATE_FUNC(ShowLayer);
    bool init();

public:
    void show();
    void onClick(Button *btn, int x, int y);
    void reloadData();
    void refreshView();

private:
    int updateIndex;
    void update(float dt);

private:
    ui::ScrollView *m_mainSCView;
    __Array *m_ShowItemAry;
    __Array *M_dataAry;
    int m_startShowTaskId;
};









#endif






